import {Route, Router} from 'dva/router';
import React from 'react';
import Main from "./pages/Main";

function RouterConfig({history}) {
  return (
    <Router history={history}>
      <Route path={"/"} component={Main} extra/>
    </Router>
  );
}

export default RouterConfig;
